package test4;

import java.util.ArrayList;

/**
 * 小说类
 */
public class Novel {
    String bookName;//书名
    String url; //书的链接地址
    String authorName;//作者名

    ArrayList<Chapter> chapters;//所有章节

    public Novel() {
    }

    public Novel(String bookName, String url, String authorName) {
        this.bookName = bookName;
        this.url = url;
        this.authorName = authorName;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public ArrayList<Chapter> getChapters() {
        return chapters;
    }

    public void setChapters(ArrayList<Chapter> chapters) {
        this.chapters = chapters;
    }
}
